package com.yuantu.judiciary.model.domain;

import com.yuantu.judiciary.model.BaseDO;
import lombok.Data;
import org.hibernate.annotations.Comment;
import org.hibernate.annotations.DynamicUpdate;

import javax.persistence.Entity;
import javax.persistence.Table;
import java.sql.Timestamp;

/**
 * 组织使用记录退款表
 *
 * @author syw
 * @since 2023-06-12
 **/
@Data
@Entity
@DynamicUpdate
@Table(name = "vip_order_refund")
public class VipOrderRefundDO extends BaseDO {

    /**
     * 订单id
     */
    @Comment("订单id")
    private Long orderId;

    /**
     * 交易单号
     */
    @Comment("交易单号")
    private String tradeNo;

    /**
     * 退款单号
     */
    @Comment("退款单号")
    private String refundNo;

    /**
     * 退款时间
     */
    @Comment("退款时间")
    private Timestamp refundTime;

    /**
     * 退款金额
     */
    @Comment("退款金额")
    private Double refundAmount;

    /**
     * 退款状态
     */
    @Comment("退款状态")
    private String refundStatus;

    /**
     * 退款原因
     */
    @Comment("退款原因")
    private String refundReason;
}
